home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / usr / sybase / doc / dbname.man < prev    next >
Text File  |  1993-04-22  |  1KB  |  45 lines

  1.  
  2.   1                       Version 4.0 -- 5/1/89                   dbname
  3.   ______________________________________________________________________
  4.  
  5.   NAME:  dbname
  6.  
  7.   FUNCTION:
  8.        Return the name of the current database.
  9.  
  10.   SYNTAX:
  11.        char *dbname(dbproc)
  12.  
  13.        DBPROCESS *dbproc;
  14.  
  15.   COMMENTS:
  16.  
  17.        o dbname returns the name of the current database.
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.   dbname                  Version 4.0 -- 5/1/89                        2
  25.   ______________________________________________________________________
  26.  
  27.        o If you need to keep track of when  the  database  changes,  use
  28.          dbchange().
  29.  
  30.   PARAMETERS:
  31.        dbproc -  A pointer to the DBPROCESS structure that provides  the
  32.            connection for a particular front-end/SQL Server process.  It
  33.            contains all the information that DB-Library uses  to  manage
  34.            communications and data between the front end and SQL Server.
  35.  
  36.   RETURNS:
  37.        A pointer to the null-terminated name of the current database.
  38.  
  39.   SEE ALSO:
  40.        dbchange, dbuse
  41.  
  42.  
  43.  
  44.  
  45.